package com.driving.code.entity;

import java.util.List;

/**
 * 项目开发作者：喜欢编程的代先生
 * 日期：2021/6/14 12:51
 * 当前类的描述信息：
 */
public class ParseData<T> {
    private Integer code;
    private String msg;
    private long count;
    private List<T> data;

    public ParseData() {
    }

    public ParseData(Integer code, String msg, long count, List<T> data) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "ParseData{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", count=" + count +
                ", data=" + data +
                '}';
    }
}
